package protocol;

import java.net.InetAddress;

public class ChatMessage extends Message{

	private static final long serialVersionUID = 123L;
	private String message;
	
	public ChatMessage(String username, String message, InetAddress address) {
		super(username, address);
		this.message = message;
	}
	
	public String getMessage() {
        return this.message;
    }
	
	public String toString(){
		return(super.toString()+" TYPE ChatMessage;");
	}
}
